package com.oracle.compents;

public enum StatusEnums {
    SUCCESS(CodeCompents.SUCCESS_COOE,CodeCompents.SUCCESS_MSG),
    FAILED(CodeCompents.FAILED_COOE,CodeCompents.FAILED_MSG);

    private Long code;
    private String msg;

    StatusEnums(Long code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Long getCode() {
        return code;
    }

    public void setCode(Long code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
